<?php return array (
  'table' => 'historylog',
  'engine' => 'InnoDB',
  'rev_control' => false,
  'link_title' => 'type',
  'save_history' => false,
  'fields' => 
  array (
    'user_id' => 
    array (
      'title' => 'User',
      'required' => true,
      'type' => 'link',
      'link_config' => 
      array (
        'link_type' => 'object',
        'object' => 'user',
      ),
    ),
    'date' => 
    array (
      'title' => 'Date',
      'db_len' => false,
      'db_type' => 'datetime',
      'db_isNull' => 1,
      'required' => false,
      'db_default' => NULL,
    ),
    'record_id' => 
    array (
      'title' => 'Record ID',
      'required' => true,
      'db_type' => 'bigint',
      'db_len' => 11,
      'db_isNull' => 0,
      'db_default' => 0,
      'db_unsigned' => true,
    ),
    'type' => 
    array (
      'title' => 'Operation ID',
      'required' => true,
      'db_type' => 'tinyint',
      'db_len' => 4,
      'db_isNull' => 0,
      'db_default' => 0,
      'db_unsigned' => true,
    ),
    'table_name' => 
    array (
      'title' => 'Db Table',
      'required' => true,
      'db_type' => 'varchar',
      'db_len' => 100,
      'db_isNull' => 0,
      'db_default' => '',
    ),
  ),
  'title' => 'History log',
); 